<%@ taglib prefix="t" tagdir="/WEB-INF/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<t:wrapper>
	<jsp:attribute name="title">
		<spring:message code="live.view.title" />
	</jsp:attribute>
	<jsp:body>
		<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="960" height="600">
        			<param name="movie" value="<c:url value="/resources/live-chat.swf"/>">
					<c:choose>
                		<c:when test="${isTeacher}">
                    		<param name="flashVars" value="teacher=true&${params}">
                    	</c:when>
                    	<c:otherwise>
                    		<param name="flashVars" value="teacher=false&${params}">
                    	</c:otherwise>
                    </c:choose>
                <object type="application/x-shockwave-flash" data="<c:url value="/resources/live-chat.swf"/>" width="960" height="600">
                	<param name="movie" value="<c:url value="/resources/live-chat.swf"/>">
                	<c:choose>
                		<c:when test="${isTeacher}">
                    		<param name="flashVars" value="teacher=true&${params}">
                    	</c:when>
                    	<c:otherwise>
                    		<param name="flashVars" value="teacher=false&${params}">
                    	</c:otherwise>
                    </c:choose>
                </object>
		</object>
	</jsp:body>
</t:wrapper>